# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=sslscan
pkgver=2.1.2
pkgrel=0
pkgdesc="fast SSL/TLS configuration scanner"
url="https://github.com/rbsec/sslscan"
arch="all"
license="GPL-3.0-or-later OpenSSL"
makedepends="zlib-dev openssl-dev>3 perl"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/rbsec/sslscan/archive/refs/tags/$pkgver.tar.gz"
options="!check" # No test suite

build() {
	make GIT_VERSION=$pkgver
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
2d76c1908b64dc291e8e6688746544386823a2e53d61e13a3ea3109d6ccb4f7dc0199b4c4d8a2ac6d420cf85183d9c9ca42051e351531c54eb138ede01a13277  sslscan-2.1.2.tar.gz
"
